﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FileProcessor
{
	public class SubSet
	{
		public string url;
		List<string> setDatas;
		public SubSet()
		{
			setDatas = new List<string>();
		}

		public void AddData(string data)
		{
			setDatas.Add(data);
		}

		public int Count
		{
			get { return setDatas.Count;}
		}

		public string Get(int index)
		{
			return setDatas[index];
		}

		public override string ToString()
		{
			StringBuilder sb = new StringBuilder();
			foreach (string i in setDatas)
			{
				sb.AppendLine(i);
			}
			return sb.ToString();
		}
	}
}
